package cn.bdqn.servlet;

import java.util.Date;

public class Teacher {
private  Integer tid;
private  String tName;
private  Integer tage;
private  Date tDate;
public Integer getTid() {
	return tid;
}
public void setTid(Integer tid) {
	this.tid = tid;
}
public String gettName() {
	return tName;
}
public void settName(String tName) {
	this.tName = tName;
}
public Integer getTage() {
	return tage;
}
public void setTage(Integer tage) {
	this.tage = tage;
}
public Date gettDate() {
	return tDate;
}
public void settDate(Date tDate) {
	this.tDate = tDate;
}
public Teacher() {
	super();
}
public Teacher( String tName, Integer tage, Date tDate) {
	super();
	this.tName = tName;
	this.tage = tage;
	this.tDate = tDate;
}
@Override
public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Teacher [tid=");
	builder.append(tid);
	builder.append(", tName=");
	builder.append(tName);
	builder.append(", tage=");
	builder.append(tage);
	builder.append(", tDate=");
	builder.append(tDate);
	builder.append("]");
	return builder.toString();
}





}
